







[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Removes an item from the front of the Deque. The indices of all existing items
in the Deque are decreased by 1. This method is
equivalent to RemoveAt(0) but is a little more
efficient.
Namespace: Wintellect.PowerCollections
Assembly:
PowerCollections (in PowerCollections.dll)
Syntax
C# |
---|
public T RemoveFromFront() |
Visual Basic (Declaration) |
---|
Public Function RemoveFromFront As T |
Visual C++ |
---|
public: T RemoveFromFront () |
Return Value
The item that was removed.
Remarks
Removing an item from the front of the Deque takes
a small constant amount of time, regardless of how many items are in the Deque.
Exceptions
Exception | Condition |
---|---|
System..::InvalidOperationException | The Deque is empty. |
See Also
Deque<(Of <T>)> Class
Wintellect.PowerCollections Namespace